package com.chujian.framework.starter.stream.annotation;

import com.chujian.framework.starter.stream.source.EventSourceChannel;
import com.chujian.framework.starter.stream.source.MsgSourceChannel;
import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.context.annotation.Configuration;

import java.lang.annotation.*;

/**
 * @author ：yj
 * @date ：2020-11-29
 * 激活消息提供者
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Configuration
@EnableBinding({MsgSourceChannel.class, EventSourceChannel.class})
public @interface EnableCommonMsgProvider {
}
